package business.tdk.c2s.iclass;

import jsproto.c2s.cclass.room.RoomPosInfo;
import jsproto.c2s.iclass.room.SBase_VisitUpdate;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**	
 * 位置更新通知	
 *	
 * @author Administrator	
 */	
@SuppressWarnings("serial")
@Data
@EqualsAndHashCode(callSuper = true)
public class STDK_VisitUpdate extends SBase_VisitUpdate {

    public static STDK_VisitUpdate make(long roomID, int action, int pos, RoomPosInfo posInfo, int visit, RoomPosInfo visitInfo) {
        STDK_VisitUpdate ret = new STDK_VisitUpdate();
        ret.setRoomID(roomID);
        ret.setAction(action);
        ret.setPos(pos);
        ret.setVisit(visit);
        ret.setPosInfo(posInfo);
        ret.setVisitInfo(visitInfo);
        return ret;
    }
}
